<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>RaspBerryPi power control: Constants for passing to and from library functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">RaspBerryPi power control
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">Constants for passing to and from library functions</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga5bb885982ff66a2e0a0a45a8ee9c35e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga5bb885982ff66a2e0a0a45a8ee9c35e2">HIGH</a>&#160;&#160;&#160;0x1</td></tr>
<tr class="memdesc:ga5bb885982ff66a2e0a0a45a8ee9c35e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This means pin HIGH, true, 3.3volts on a pin.  <a href="#ga5bb885982ff66a2e0a0a45a8ee9c35e2">More...</a><br/></td></tr>
<tr class="separator:ga5bb885982ff66a2e0a0a45a8ee9c35e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab811d8c6ff3a505312d3276590444289"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gab811d8c6ff3a505312d3276590444289">LOW</a>&#160;&#160;&#160;0x0</td></tr>
<tr class="memdesc:gab811d8c6ff3a505312d3276590444289"><td class="mdescLeft">&#160;</td><td class="mdescRight">This means pin LOW, false, 0volts on a pin.  <a href="#gab811d8c6ff3a505312d3276590444289">More...</a><br/></td></tr>
<tr class="separator:gab811d8c6ff3a505312d3276590444289"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5bb26b947f1c7bde2228eab5fef2c8b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a>&#160;&#160;&#160;0x20000000</td></tr>
<tr class="memdesc:gab5bb26b947f1c7bde2228eab5fef2c8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base Physical Address of the BCM 2835 peripheral registers.  <a href="#gab5bb26b947f1c7bde2228eab5fef2c8b">More...</a><br/></td></tr>
<tr class="separator:gab5bb26b947f1c7bde2228eab5fef2c8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad67de3f137d951059c332980db171ffb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gad67de3f137d951059c332980db171ffb">BCM2835_GPIO_PADS</a>&#160;&#160;&#160;(<a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a> + 0x100000)</td></tr>
<tr class="memdesc:gad67de3f137d951059c332980db171ffb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base Physical Address of the Pads registers.  <a href="#gad67de3f137d951059c332980db171ffb">More...</a><br/></td></tr>
<tr class="separator:gad67de3f137d951059c332980db171ffb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23c5c42494588d137ce4e2c5fa1ef503"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga23c5c42494588d137ce4e2c5fa1ef503">BCM2835_CLOCK_BASE</a>&#160;&#160;&#160;(<a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a> + 0x101000)</td></tr>
<tr class="memdesc:ga23c5c42494588d137ce4e2c5fa1ef503"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base Physical Address of the Clock/timer registers.  <a href="#ga23c5c42494588d137ce4e2c5fa1ef503">More...</a><br/></td></tr>
<tr class="separator:ga23c5c42494588d137ce4e2c5fa1ef503"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga18644b2c5bcf4463e340087ffbaf38e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga18644b2c5bcf4463e340087ffbaf38e4">BCM2835_GPIO_BASE</a>&#160;&#160;&#160;(<a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a> + 0x200000)</td></tr>
<tr class="memdesc:ga18644b2c5bcf4463e340087ffbaf38e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base Physical Address of the GPIO registers.  <a href="#ga18644b2c5bcf4463e340087ffbaf38e4">More...</a><br/></td></tr>
<tr class="separator:ga18644b2c5bcf4463e340087ffbaf38e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a6ad3a241527d11409cfd0228f6af0f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga6a6ad3a241527d11409cfd0228f6af0f">BCM2835_SPI0_BASE</a>&#160;&#160;&#160;(<a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a> + 0x204000)</td></tr>
<tr class="memdesc:ga6a6ad3a241527d11409cfd0228f6af0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base Physical Address of the SPI0 registers.  <a href="#ga6a6ad3a241527d11409cfd0228f6af0f">More...</a><br/></td></tr>
<tr class="separator:ga6a6ad3a241527d11409cfd0228f6af0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac7dd12cef0d936f0787273810a525aa1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gac7dd12cef0d936f0787273810a525aa1">BCM2835_GPIO_PWM</a>&#160;&#160;&#160;(<a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a> + 0x20C000)</td></tr>
<tr class="memdesc:gac7dd12cef0d936f0787273810a525aa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base Physical Address of the PWM registers.  <a href="#gac7dd12cef0d936f0787273810a525aa1">More...</a><br/></td></tr>
<tr class="separator:gac7dd12cef0d936f0787273810a525aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7283abea0c7bd58a9faa12b51875c5f9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga7283abea0c7bd58a9faa12b51875c5f9">BCM2835_PAGE_SIZE</a>&#160;&#160;&#160;(4*1024)</td></tr>
<tr class="memdesc:ga7283abea0c7bd58a9faa12b51875c5f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of memory page on RPi.  <a href="#ga7283abea0c7bd58a9faa12b51875c5f9">More...</a><br/></td></tr>
<tr class="separator:ga7283abea0c7bd58a9faa12b51875c5f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78709ba3128e986d3185c272d6cc29d7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga78709ba3128e986d3185c272d6cc29d7">BCM2835_BLOCK_SIZE</a>&#160;&#160;&#160;(4*1024)</td></tr>
<tr class="memdesc:ga78709ba3128e986d3185c272d6cc29d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of memory block on RPi.  <a href="#ga78709ba3128e986d3185c272d6cc29d7">More...</a><br/></td></tr>
<tr class="separator:ga78709ba3128e986d3185c272d6cc29d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga00917d110abbdec714c4005a59848902"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga00917d110abbdec714c4005a59848902">BCM2835_GPFSEL0</a>&#160;&#160;&#160;0x0000</td></tr>
<tr class="memdesc:ga00917d110abbdec714c4005a59848902"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO register offsets from BCM2835_GPIO_BASE. Offsets into the GPIO Peripheral block in bytes per 6.1 Register View.  <a href="#ga00917d110abbdec714c4005a59848902">More...</a><br/></td></tr>
<tr class="separator:ga00917d110abbdec714c4005a59848902"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga76fb9088a948cfff2fce816a03d610ca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga76fb9088a948cfff2fce816a03d610ca">BCM2835_GPFSEL1</a>&#160;&#160;&#160;0x0004</td></tr>
<tr class="memdesc:ga76fb9088a948cfff2fce816a03d610ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Function Select 1.  <a href="#ga76fb9088a948cfff2fce816a03d610ca">More...</a><br/></td></tr>
<tr class="separator:ga76fb9088a948cfff2fce816a03d610ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b6504e9e73af599860a175f77752074"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga7b6504e9e73af599860a175f77752074">BCM2835_GPFSEL2</a>&#160;&#160;&#160;0x0008</td></tr>
<tr class="memdesc:ga7b6504e9e73af599860a175f77752074"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Function Select 2.  <a href="#ga7b6504e9e73af599860a175f77752074">More...</a><br/></td></tr>
<tr class="separator:ga7b6504e9e73af599860a175f77752074"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa1dc7331a5c2b343b89fc43e1a2632ac"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaa1dc7331a5c2b343b89fc43e1a2632ac">BCM2835_GPFSEL3</a>&#160;&#160;&#160;0x000c</td></tr>
<tr class="memdesc:gaa1dc7331a5c2b343b89fc43e1a2632ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Function Select 3.  <a href="#gaa1dc7331a5c2b343b89fc43e1a2632ac">More...</a><br/></td></tr>
<tr class="separator:gaa1dc7331a5c2b343b89fc43e1a2632ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01c8888e41dd1a89d98cc053567d1f58"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga01c8888e41dd1a89d98cc053567d1f58">BCM2835_GPFSEL4</a>&#160;&#160;&#160;0x0010</td></tr>
<tr class="memdesc:ga01c8888e41dd1a89d98cc053567d1f58"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Function Select 4.  <a href="#ga01c8888e41dd1a89d98cc053567d1f58">More...</a><br/></td></tr>
<tr class="separator:ga01c8888e41dd1a89d98cc053567d1f58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74095771a9c64d18383c83d852423a52"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga74095771a9c64d18383c83d852423a52">BCM2835_GPFSEL5</a>&#160;&#160;&#160;0x0014</td></tr>
<tr class="memdesc:ga74095771a9c64d18383c83d852423a52"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Function Select 5.  <a href="#ga74095771a9c64d18383c83d852423a52">More...</a><br/></td></tr>
<tr class="separator:ga74095771a9c64d18383c83d852423a52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab932050ff4d1cca2c88e7b0938b207ff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gab932050ff4d1cca2c88e7b0938b207ff">BCM2835_GPSET0</a>&#160;&#160;&#160;0x001c</td></tr>
<tr class="memdesc:gab932050ff4d1cca2c88e7b0938b207ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Output Set 0.  <a href="#gab932050ff4d1cca2c88e7b0938b207ff">More...</a><br/></td></tr>
<tr class="separator:gab932050ff4d1cca2c88e7b0938b207ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaea654f86dc2dcad6fb98234621565ea9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaea654f86dc2dcad6fb98234621565ea9">BCM2835_GPSET1</a>&#160;&#160;&#160;0x0020</td></tr>
<tr class="memdesc:gaea654f86dc2dcad6fb98234621565ea9"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Output Set 1.  <a href="#gaea654f86dc2dcad6fb98234621565ea9">More...</a><br/></td></tr>
<tr class="separator:gaea654f86dc2dcad6fb98234621565ea9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafb1747241f4bb7ff862e8a018df95347"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gafb1747241f4bb7ff862e8a018df95347">BCM2835_GPCLR0</a>&#160;&#160;&#160;0x0028</td></tr>
<tr class="memdesc:gafb1747241f4bb7ff862e8a018df95347"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Output Clear 0.  <a href="#gafb1747241f4bb7ff862e8a018df95347">More...</a><br/></td></tr>
<tr class="separator:gafb1747241f4bb7ff862e8a018df95347"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga909c5e086a927f35b0d8effd0080b666"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga909c5e086a927f35b0d8effd0080b666">BCM2835_GPCLR1</a>&#160;&#160;&#160;0x002c</td></tr>
<tr class="memdesc:ga909c5e086a927f35b0d8effd0080b666"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Output Clear 1.  <a href="#ga909c5e086a927f35b0d8effd0080b666">More...</a><br/></td></tr>
<tr class="separator:ga909c5e086a927f35b0d8effd0080b666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga041b207af12c06812ae61d7843f29722"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga041b207af12c06812ae61d7843f29722">BCM2835_GPLEV0</a>&#160;&#160;&#160;0x0034</td></tr>
<tr class="memdesc:ga041b207af12c06812ae61d7843f29722"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Level 0.  <a href="#ga041b207af12c06812ae61d7843f29722">More...</a><br/></td></tr>
<tr class="separator:ga041b207af12c06812ae61d7843f29722"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9119967adce528ba0be92c18c74f620"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gab9119967adce528ba0be92c18c74f620">BCM2835_GPLEV1</a>&#160;&#160;&#160;0x0038</td></tr>
<tr class="memdesc:gab9119967adce528ba0be92c18c74f620"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Level 1.  <a href="#gab9119967adce528ba0be92c18c74f620">More...</a><br/></td></tr>
<tr class="separator:gab9119967adce528ba0be92c18c74f620"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga465a3654de5aed71841769dd28e6d8d2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga465a3654de5aed71841769dd28e6d8d2">BCM2835_GPEDS0</a>&#160;&#160;&#160;0x0040</td></tr>
<tr class="memdesc:ga465a3654de5aed71841769dd28e6d8d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Event Detect Status 0.  <a href="#ga465a3654de5aed71841769dd28e6d8d2">More...</a><br/></td></tr>
<tr class="separator:ga465a3654de5aed71841769dd28e6d8d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad12207f38948faa0009e45a5d7979991"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gad12207f38948faa0009e45a5d7979991">BCM2835_GPEDS1</a>&#160;&#160;&#160;0x0044</td></tr>
<tr class="memdesc:gad12207f38948faa0009e45a5d7979991"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Event Detect Status 1.  <a href="#gad12207f38948faa0009e45a5d7979991">More...</a><br/></td></tr>
<tr class="separator:gad12207f38948faa0009e45a5d7979991"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d9faef4b2dc479356d1a6cf4d9a97de"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga4d9faef4b2dc479356d1a6cf4d9a97de">BCM2835_GPREN0</a>&#160;&#160;&#160;0x004c</td></tr>
<tr class="memdesc:ga4d9faef4b2dc479356d1a6cf4d9a97de"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Rising Edge Detect Enable 0.  <a href="#ga4d9faef4b2dc479356d1a6cf4d9a97de">More...</a><br/></td></tr>
<tr class="separator:ga4d9faef4b2dc479356d1a6cf4d9a97de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4059231531964a7c19e04c32b1b3dc84"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga4059231531964a7c19e04c32b1b3dc84">BCM2835_GPREN1</a>&#160;&#160;&#160;0x0050</td></tr>
<tr class="memdesc:ga4059231531964a7c19e04c32b1b3dc84"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Rising Edge Detect Enable 1.  <a href="#ga4059231531964a7c19e04c32b1b3dc84">More...</a><br/></td></tr>
<tr class="separator:ga4059231531964a7c19e04c32b1b3dc84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1700c03b5c1cccaa1f2d1af5ceb8a07e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga1700c03b5c1cccaa1f2d1af5ceb8a07e">BCM2835_GPFEN0</a>&#160;&#160;&#160;0x0048</td></tr>
<tr class="memdesc:ga1700c03b5c1cccaa1f2d1af5ceb8a07e"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Falling Edge Detect Enable 0.  <a href="#ga1700c03b5c1cccaa1f2d1af5ceb8a07e">More...</a><br/></td></tr>
<tr class="separator:ga1700c03b5c1cccaa1f2d1af5ceb8a07e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga417b97cba380741da717b9aef7382eda"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga417b97cba380741da717b9aef7382eda">BCM2835_GPFEN1</a>&#160;&#160;&#160;0x005c</td></tr>
<tr class="memdesc:ga417b97cba380741da717b9aef7382eda"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Falling Edge Detect Enable 1.  <a href="#ga417b97cba380741da717b9aef7382eda">More...</a><br/></td></tr>
<tr class="separator:ga417b97cba380741da717b9aef7382eda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4fa850fe62fcc04aa4f27c8aea86b12"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gad4fa850fe62fcc04aa4f27c8aea86b12">BCM2835_GPHEN0</a>&#160;&#160;&#160;0x0064</td></tr>
<tr class="memdesc:gad4fa850fe62fcc04aa4f27c8aea86b12"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin High Detect Enable 0.  <a href="#gad4fa850fe62fcc04aa4f27c8aea86b12">More...</a><br/></td></tr>
<tr class="separator:gad4fa850fe62fcc04aa4f27c8aea86b12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3fdab5dd28d9c6309373d6819c221f1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gae3fdab5dd28d9c6309373d6819c221f1">BCM2835_GPHEN1</a>&#160;&#160;&#160;0x0068</td></tr>
<tr class="memdesc:gae3fdab5dd28d9c6309373d6819c221f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin High Detect Enable 1.  <a href="#gae3fdab5dd28d9c6309373d6819c221f1">More...</a><br/></td></tr>
<tr class="separator:gae3fdab5dd28d9c6309373d6819c221f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga596691fdae72cd50839e6faaa166ddfa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga596691fdae72cd50839e6faaa166ddfa">BCM2835_GPLEN0</a>&#160;&#160;&#160;0x0070</td></tr>
<tr class="memdesc:ga596691fdae72cd50839e6faaa166ddfa"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Low Detect Enable 0.  <a href="#ga596691fdae72cd50839e6faaa166ddfa">More...</a><br/></td></tr>
<tr class="separator:ga596691fdae72cd50839e6faaa166ddfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8c7dec188f62ed2fd24849f35c8edcf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaa8c7dec188f62ed2fd24849f35c8edcf">BCM2835_GPLEN1</a>&#160;&#160;&#160;0x0074</td></tr>
<tr class="memdesc:gaa8c7dec188f62ed2fd24849f35c8edcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Low Detect Enable 1.  <a href="#gaa8c7dec188f62ed2fd24849f35c8edcf">More...</a><br/></td></tr>
<tr class="separator:gaa8c7dec188f62ed2fd24849f35c8edcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga761328af6fed56935e474a4d5f773156"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga761328af6fed56935e474a4d5f773156">BCM2835_GPAREN0</a>&#160;&#160;&#160;0x007c</td></tr>
<tr class="memdesc:ga761328af6fed56935e474a4d5f773156"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Async. Rising Edge Detect 0.  <a href="#ga761328af6fed56935e474a4d5f773156">More...</a><br/></td></tr>
<tr class="separator:ga761328af6fed56935e474a4d5f773156"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb0649bc082de78b977f43876363963f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gabb0649bc082de78b977f43876363963f">BCM2835_GPAREN1</a>&#160;&#160;&#160;0x0080</td></tr>
<tr class="memdesc:gabb0649bc082de78b977f43876363963f"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Async. Rising Edge Detect 1.  <a href="#gabb0649bc082de78b977f43876363963f">More...</a><br/></td></tr>
<tr class="separator:gabb0649bc082de78b977f43876363963f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf7fb83f519c19337f5ef44f6eb11609f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaf7fb83f519c19337f5ef44f6eb11609f">BCM2835_GPAFEN0</a>&#160;&#160;&#160;0x0088</td></tr>
<tr class="memdesc:gaf7fb83f519c19337f5ef44f6eb11609f"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Async. Falling Edge Detect 0.  <a href="#gaf7fb83f519c19337f5ef44f6eb11609f">More...</a><br/></td></tr>
<tr class="separator:gaf7fb83f519c19337f5ef44f6eb11609f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf9264f231d53db4567e9c582e8f4491"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gacf9264f231d53db4567e9c582e8f4491">BCM2835_GPAFEN1</a>&#160;&#160;&#160;0x008c</td></tr>
<tr class="memdesc:gacf9264f231d53db4567e9c582e8f4491"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Async. Falling Edge Detect 1.  <a href="#gacf9264f231d53db4567e9c582e8f4491">More...</a><br/></td></tr>
<tr class="separator:gacf9264f231d53db4567e9c582e8f4491"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8b78001cdb3bea2d9e907c07693671b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaf8b78001cdb3bea2d9e907c07693671b">BCM2835_GPPUD</a>&#160;&#160;&#160;0x0094</td></tr>
<tr class="memdesc:gaf8b78001cdb3bea2d9e907c07693671b"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Pull-up/down Enable.  <a href="#gaf8b78001cdb3bea2d9e907c07693671b">More...</a><br/></td></tr>
<tr class="separator:gaf8b78001cdb3bea2d9e907c07693671b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad6e8fe11f1afdef6245045ec27059732"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gad6e8fe11f1afdef6245045ec27059732">BCM2835_GPPUDCLK0</a>&#160;&#160;&#160;0x0098</td></tr>
<tr class="memdesc:gad6e8fe11f1afdef6245045ec27059732"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Pull-up/down Enable Clock 0.  <a href="#gad6e8fe11f1afdef6245045ec27059732">More...</a><br/></td></tr>
<tr class="separator:gad6e8fe11f1afdef6245045ec27059732"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6db680bbda10290da4a9637d21719811"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga6db680bbda10290da4a9637d21719811">BCM2835_GPPUDCLK1</a>&#160;&#160;&#160;0x009c</td></tr>
<tr class="memdesc:ga6db680bbda10290da4a9637d21719811"><td class="mdescLeft">&#160;</td><td class="mdescRight">GPIO Pin Pull-up/down Enable Clock 1.  <a href="#ga6db680bbda10290da4a9637d21719811">More...</a><br/></td></tr>
<tr class="separator:ga6db680bbda10290da4a9637d21719811"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d20d8211cc82313ea5ded2502928828"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga4d20d8211cc82313ea5ded2502928828">BCM2835_PADS_GPIO_0_27</a>&#160;&#160;&#160;0x002c</td></tr>
<tr class="memdesc:ga4d20d8211cc82313ea5ded2502928828"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pad control register offsets from BCM2835_GPIO_PADS.  <a href="#ga4d20d8211cc82313ea5ded2502928828">More...</a><br/></td></tr>
<tr class="separator:ga4d20d8211cc82313ea5ded2502928828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1cbce6b8e2a5c1ff8cb98bf619c48566"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga1cbce6b8e2a5c1ff8cb98bf619c48566">BCM2835_PADS_GPIO_28_45</a>&#160;&#160;&#160;0x0030</td></tr>
<tr class="memdesc:ga1cbce6b8e2a5c1ff8cb98bf619c48566"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pad control register for pads 28 to 45.  <a href="#ga1cbce6b8e2a5c1ff8cb98bf619c48566">More...</a><br/></td></tr>
<tr class="separator:ga1cbce6b8e2a5c1ff8cb98bf619c48566"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga812e6ccc1cebd0a44bd3d355902566a0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga812e6ccc1cebd0a44bd3d355902566a0">BCM2835_PADS_GPIO_46_53</a>&#160;&#160;&#160;0x0034</td></tr>
<tr class="memdesc:ga812e6ccc1cebd0a44bd3d355902566a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pad control register for pads 46 to 53.  <a href="#ga812e6ccc1cebd0a44bd3d355902566a0">More...</a><br/></td></tr>
<tr class="separator:ga812e6ccc1cebd0a44bd3d355902566a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2ce4541798c37b8d253df1c9ff090606"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga2ce4541798c37b8d253df1c9ff090606">BCM2835_PAD_PASSWRD</a>&#160;&#160;&#160;(0x5A &lt;&lt; 24)</td></tr>
<tr class="memdesc:ga2ce4541798c37b8d253df1c9ff090606"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pad Control masks.  <a href="#ga2ce4541798c37b8d253df1c9ff090606">More...</a><br/></td></tr>
<tr class="separator:ga2ce4541798c37b8d253df1c9ff090606"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef28743dd2384a4230e430a4617876bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaef28743dd2384a4230e430a4617876bc">BCM2835_PAD_SLEW_RATE_UNLIMITED</a>&#160;&#160;&#160;0x10</td></tr>
<tr class="memdesc:gaef28743dd2384a4230e430a4617876bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slew rate unlimited.  <a href="#gaef28743dd2384a4230e430a4617876bc">More...</a><br/></td></tr>
<tr class="separator:gaef28743dd2384a4230e430a4617876bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f9b865c716f45aabd0b5dc0385c8fe9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga9f9b865c716f45aabd0b5dc0385c8fe9">BCM2835_PAD_HYSTERESIS_ENABLED</a>&#160;&#160;&#160;0x08</td></tr>
<tr class="memdesc:ga9f9b865c716f45aabd0b5dc0385c8fe9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Hysteresis enabled.  <a href="#ga9f9b865c716f45aabd0b5dc0385c8fe9">More...</a><br/></td></tr>
<tr class="separator:ga9f9b865c716f45aabd0b5dc0385c8fe9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3fee5477b0fe9c881acc4cfee36d0e91"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga3fee5477b0fe9c881acc4cfee36d0e91">BCM2835_PAD_DRIVE_2mA</a>&#160;&#160;&#160;0x00</td></tr>
<tr class="memdesc:ga3fee5477b0fe9c881acc4cfee36d0e91"><td class="mdescLeft">&#160;</td><td class="mdescRight">2mA drive current  <a href="#ga3fee5477b0fe9c881acc4cfee36d0e91">More...</a><br/></td></tr>
<tr class="separator:ga3fee5477b0fe9c881acc4cfee36d0e91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabcff85928631a5e02819a7ab9c5de446"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gabcff85928631a5e02819a7ab9c5de446">BCM2835_PAD_DRIVE_4mA</a>&#160;&#160;&#160;0x01</td></tr>
<tr class="memdesc:gabcff85928631a5e02819a7ab9c5de446"><td class="mdescLeft">&#160;</td><td class="mdescRight">4mA drive current  <a href="#gabcff85928631a5e02819a7ab9c5de446">More...</a><br/></td></tr>
<tr class="separator:gabcff85928631a5e02819a7ab9c5de446"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4031739ca3a20be73fcc7851ad72f799"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga4031739ca3a20be73fcc7851ad72f799">BCM2835_PAD_DRIVE_6mA</a>&#160;&#160;&#160;0x02</td></tr>
<tr class="memdesc:ga4031739ca3a20be73fcc7851ad72f799"><td class="mdescLeft">&#160;</td><td class="mdescRight">6mA drive current  <a href="#ga4031739ca3a20be73fcc7851ad72f799">More...</a><br/></td></tr>
<tr class="separator:ga4031739ca3a20be73fcc7851ad72f799"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc25f3916cea3f06a98dd86d7ed6f90a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gacc25f3916cea3f06a98dd86d7ed6f90a">BCM2835_PAD_DRIVE_8mA</a>&#160;&#160;&#160;0x03</td></tr>
<tr class="memdesc:gacc25f3916cea3f06a98dd86d7ed6f90a"><td class="mdescLeft">&#160;</td><td class="mdescRight">8mA drive current  <a href="#gacc25f3916cea3f06a98dd86d7ed6f90a">More...</a><br/></td></tr>
<tr class="separator:gacc25f3916cea3f06a98dd86d7ed6f90a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7486566fbf3639e40271c2891f228f4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gad7486566fbf3639e40271c2891f228f4">BCM2835_PAD_DRIVE_10mA</a>&#160;&#160;&#160;0x04</td></tr>
<tr class="memdesc:gad7486566fbf3639e40271c2891f228f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">10mA drive current  <a href="#gad7486566fbf3639e40271c2891f228f4">More...</a><br/></td></tr>
<tr class="separator:gad7486566fbf3639e40271c2891f228f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad5317cf984e9ea1ff0f634594f444241"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gad5317cf984e9ea1ff0f634594f444241">BCM2835_PAD_DRIVE_12mA</a>&#160;&#160;&#160;0x05</td></tr>
<tr class="memdesc:gad5317cf984e9ea1ff0f634594f444241"><td class="mdescLeft">&#160;</td><td class="mdescRight">12mA drive current  <a href="#gad5317cf984e9ea1ff0f634594f444241">More...</a><br/></td></tr>
<tr class="separator:gad5317cf984e9ea1ff0f634594f444241"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab81348e1c486d1f8ea26db36484f8652"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gab81348e1c486d1f8ea26db36484f8652">BCM2835_PAD_DRIVE_14mA</a>&#160;&#160;&#160;0x06</td></tr>
<tr class="memdesc:gab81348e1c486d1f8ea26db36484f8652"><td class="mdescLeft">&#160;</td><td class="mdescRight">14mA drive current  <a href="#gab81348e1c486d1f8ea26db36484f8652">More...</a><br/></td></tr>
<tr class="separator:gab81348e1c486d1f8ea26db36484f8652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga219597896782a72ba61155b93c2256d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga219597896782a72ba61155b93c2256d8">BCM2835_PAD_DRIVE_16mA</a>&#160;&#160;&#160;0x07</td></tr>
<tr class="memdesc:ga219597896782a72ba61155b93c2256d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">16mA drive current  <a href="#ga219597896782a72ba61155b93c2256d8">More...</a><br/></td></tr>
<tr class="separator:ga219597896782a72ba61155b93c2256d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49919ca09a6264b1ff512497f96a7c0d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga49919ca09a6264b1ff512497f96a7c0d">BCM2835_SPI0_CS</a>&#160;&#160;&#160;0x0000</td></tr>
<tr class="memdesc:ga49919ca09a6264b1ff512497f96a7c0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">SPI Master Control and Status.  <a href="#ga49919ca09a6264b1ff512497f96a7c0d">More...</a><br/></td></tr>
<tr class="separator:ga49919ca09a6264b1ff512497f96a7c0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabaa8c00767e856c38e3519eb9b5b73e0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gabaa8c00767e856c38e3519eb9b5b73e0">BCM2835_SPI0_FIFO</a>&#160;&#160;&#160;0x0004</td></tr>
<tr class="memdesc:gabaa8c00767e856c38e3519eb9b5b73e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">SPI Master TX and RX FIFOs.  <a href="#gabaa8c00767e856c38e3519eb9b5b73e0">More...</a><br/></td></tr>
<tr class="separator:gabaa8c00767e856c38e3519eb9b5b73e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaffd3d1ae9288feffa1a3201ee20410b8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaffd3d1ae9288feffa1a3201ee20410b8">BCM2835_SPI0_CLK</a>&#160;&#160;&#160;0x0008</td></tr>
<tr class="memdesc:gaffd3d1ae9288feffa1a3201ee20410b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">SPI Master Clock Divider.  <a href="#gaffd3d1ae9288feffa1a3201ee20410b8">More...</a><br/></td></tr>
<tr class="separator:gaffd3d1ae9288feffa1a3201ee20410b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga04ec3ff32c1ba0779168296cb4b16ac9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga04ec3ff32c1ba0779168296cb4b16ac9">BCM2835_SPI0_DLEN</a>&#160;&#160;&#160;0x000c</td></tr>
<tr class="memdesc:ga04ec3ff32c1ba0779168296cb4b16ac9"><td class="mdescLeft">&#160;</td><td class="mdescRight">SPI Master Data Length.  <a href="#ga04ec3ff32c1ba0779168296cb4b16ac9">More...</a><br/></td></tr>
<tr class="separator:ga04ec3ff32c1ba0779168296cb4b16ac9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e9ede79144d2e190270f8fbe1e1fbe6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga7e9ede79144d2e190270f8fbe1e1fbe6">BCM2835_SPI0_LTOH</a>&#160;&#160;&#160;0x0010</td></tr>
<tr class="memdesc:ga7e9ede79144d2e190270f8fbe1e1fbe6"><td class="mdescLeft">&#160;</td><td class="mdescRight">SPI LOSSI mode TOH.  <a href="#ga7e9ede79144d2e190270f8fbe1e1fbe6">More...</a><br/></td></tr>
<tr class="separator:ga7e9ede79144d2e190270f8fbe1e1fbe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadcbc54e7334424b155ee4fd2c62eaf7d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gadcbc54e7334424b155ee4fd2c62eaf7d">BCM2835_SPI0_DC</a>&#160;&#160;&#160;0x0014</td></tr>
<tr class="memdesc:gadcbc54e7334424b155ee4fd2c62eaf7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">SPI DMA DREQ Controls.  <a href="#gadcbc54e7334424b155ee4fd2c62eaf7d">More...</a><br/></td></tr>
<tr class="separator:gadcbc54e7334424b155ee4fd2c62eaf7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae1289c80786e4824dd690ae1f44cfd8b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gae1289c80786e4824dd690ae1f44cfd8b">BCM2835_SPI0_CS_LEN_LONG</a>&#160;&#160;&#160;0x02000000</td></tr>
<tr class="memdesc:gae1289c80786e4824dd690ae1f44cfd8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable Long data word in Lossi mode if DMA_LEN is set.  <a href="#gae1289c80786e4824dd690ae1f44cfd8b">More...</a><br/></td></tr>
<tr class="separator:gae1289c80786e4824dd690ae1f44cfd8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaedcfe6aa2213d0be2d43952faaedc296"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaedcfe6aa2213d0be2d43952faaedc296">BCM2835_SPI0_CS_DMA_LEN</a>&#160;&#160;&#160;0x01000000</td></tr>
<tr class="memdesc:gaedcfe6aa2213d0be2d43952faaedc296"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable DMA mode in Lossi mode.  <a href="#gaedcfe6aa2213d0be2d43952faaedc296">More...</a><br/></td></tr>
<tr class="separator:gaedcfe6aa2213d0be2d43952faaedc296"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe3809daaf4420d004bd39f2ecf3e93a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gabe3809daaf4420d004bd39f2ecf3e93a">BCM2835_SPI0_CS_CSPOL2</a>&#160;&#160;&#160;0x00800000</td></tr>
<tr class="memdesc:gabe3809daaf4420d004bd39f2ecf3e93a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chip Select 2 Polarity.  <a href="#gabe3809daaf4420d004bd39f2ecf3e93a">More...</a><br/></td></tr>
<tr class="separator:gabe3809daaf4420d004bd39f2ecf3e93a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7af165fc13312fe1465af31d6d80f10"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gae7af165fc13312fe1465af31d6d80f10">BCM2835_SPI0_CS_CSPOL1</a>&#160;&#160;&#160;0x00400000</td></tr>
<tr class="memdesc:gae7af165fc13312fe1465af31d6d80f10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chip Select 1 Polarity.  <a href="#gae7af165fc13312fe1465af31d6d80f10">More...</a><br/></td></tr>
<tr class="separator:gae7af165fc13312fe1465af31d6d80f10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ec3c1bde85de8380d5810bcd385a5bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga4ec3c1bde85de8380d5810bcd385a5bd">BCM2835_SPI0_CS_CSPOL0</a>&#160;&#160;&#160;0x00200000</td></tr>
<tr class="memdesc:ga4ec3c1bde85de8380d5810bcd385a5bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chip Select 0 Polarity.  <a href="#ga4ec3c1bde85de8380d5810bcd385a5bd">More...</a><br/></td></tr>
<tr class="separator:ga4ec3c1bde85de8380d5810bcd385a5bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabc15a6b0f38c304d756699c8b0c4b94d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gabc15a6b0f38c304d756699c8b0c4b94d">BCM2835_SPI0_CS_RXF</a>&#160;&#160;&#160;0x00100000</td></tr>
<tr class="memdesc:gabc15a6b0f38c304d756699c8b0c4b94d"><td class="mdescLeft">&#160;</td><td class="mdescRight">RXF - RX FIFO Full.  <a href="#gabc15a6b0f38c304d756699c8b0c4b94d">More...</a><br/></td></tr>
<tr class="separator:gabc15a6b0f38c304d756699c8b0c4b94d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac4a5bcc3bb89c287f0f7cdbc6498251d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gac4a5bcc3bb89c287f0f7cdbc6498251d">BCM2835_SPI0_CS_RXR</a>&#160;&#160;&#160;0x00080000</td></tr>
<tr class="memdesc:gac4a5bcc3bb89c287f0f7cdbc6498251d"><td class="mdescLeft">&#160;</td><td class="mdescRight">RXR RX FIFO needs Reading ( full)  <a href="#gac4a5bcc3bb89c287f0f7cdbc6498251d">More...</a><br/></td></tr>
<tr class="separator:gac4a5bcc3bb89c287f0f7cdbc6498251d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga510230183c6e2b2214e7ec6f14b018a1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga510230183c6e2b2214e7ec6f14b018a1">BCM2835_SPI0_CS_TXD</a>&#160;&#160;&#160;0x00040000</td></tr>
<tr class="memdesc:ga510230183c6e2b2214e7ec6f14b018a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">TXD TX FIFO can accept Data.  <a href="#ga510230183c6e2b2214e7ec6f14b018a1">More...</a><br/></td></tr>
<tr class="separator:ga510230183c6e2b2214e7ec6f14b018a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62071206e365c0709810f9ba99bfbf0a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga62071206e365c0709810f9ba99bfbf0a">BCM2835_SPI0_CS_RXD</a>&#160;&#160;&#160;0x00020000</td></tr>
<tr class="memdesc:ga62071206e365c0709810f9ba99bfbf0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">RXD RX FIFO contains Data.  <a href="#ga62071206e365c0709810f9ba99bfbf0a">More...</a><br/></td></tr>
<tr class="separator:ga62071206e365c0709810f9ba99bfbf0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf08ece95c7f4b756e9b7ad04ca28bf1f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaf08ece95c7f4b756e9b7ad04ca28bf1f">BCM2835_SPI0_CS_DONE</a>&#160;&#160;&#160;0x00010000</td></tr>
<tr class="memdesc:gaf08ece95c7f4b756e9b7ad04ca28bf1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Done transfer Done.  <a href="#gaf08ece95c7f4b756e9b7ad04ca28bf1f">More...</a><br/></td></tr>
<tr class="separator:gaf08ece95c7f4b756e9b7ad04ca28bf1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0780b01fb7fc1e0ee2859c253c6e195"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gac0780b01fb7fc1e0ee2859c253c6e195">BCM2835_SPI0_CS_TE_EN</a>&#160;&#160;&#160;0x00008000</td></tr>
<tr class="memdesc:gac0780b01fb7fc1e0ee2859c253c6e195"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unused.  <a href="#gac0780b01fb7fc1e0ee2859c253c6e195">More...</a><br/></td></tr>
<tr class="separator:gac0780b01fb7fc1e0ee2859c253c6e195"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14e979e9c1cb273dc82681d38dc3b66d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga14e979e9c1cb273dc82681d38dc3b66d">BCM2835_SPI0_CS_LMONO</a>&#160;&#160;&#160;0x00004000</td></tr>
<tr class="memdesc:ga14e979e9c1cb273dc82681d38dc3b66d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unused.  <a href="#ga14e979e9c1cb273dc82681d38dc3b66d">More...</a><br/></td></tr>
<tr class="separator:ga14e979e9c1cb273dc82681d38dc3b66d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7affadae5d0fe819bc45b61ae3493010"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga7affadae5d0fe819bc45b61ae3493010">BCM2835_SPI0_CS_LEN</a>&#160;&#160;&#160;0x00002000</td></tr>
<tr class="memdesc:ga7affadae5d0fe819bc45b61ae3493010"><td class="mdescLeft">&#160;</td><td class="mdescRight">LEN LoSSI enable.  <a href="#ga7affadae5d0fe819bc45b61ae3493010">More...</a><br/></td></tr>
<tr class="separator:ga7affadae5d0fe819bc45b61ae3493010"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaadcb38922b024a8ad642e32caeeac5aa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaadcb38922b024a8ad642e32caeeac5aa">BCM2835_SPI0_CS_REN</a>&#160;&#160;&#160;0x00001000</td></tr>
<tr class="memdesc:gaadcb38922b024a8ad642e32caeeac5aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">REN Read Enable.  <a href="#gaadcb38922b024a8ad642e32caeeac5aa">More...</a><br/></td></tr>
<tr class="separator:gaadcb38922b024a8ad642e32caeeac5aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf473964864614ea2dfe237f5ae96f0ca"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaf473964864614ea2dfe237f5ae96f0ca">BCM2835_SPI0_CS_ADCS</a>&#160;&#160;&#160;0x00000800</td></tr>
<tr class="memdesc:gaf473964864614ea2dfe237f5ae96f0ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">ADCS Automatically Deassert Chip Select.  <a href="#gaf473964864614ea2dfe237f5ae96f0ca">More...</a><br/></td></tr>
<tr class="separator:gaf473964864614ea2dfe237f5ae96f0ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2907287714877838fc7fac4b3663ab54"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga2907287714877838fc7fac4b3663ab54">BCM2835_SPI0_CS_INTR</a>&#160;&#160;&#160;0x00000400</td></tr>
<tr class="memdesc:ga2907287714877838fc7fac4b3663ab54"><td class="mdescLeft">&#160;</td><td class="mdescRight">INTR Interrupt on RXR.  <a href="#ga2907287714877838fc7fac4b3663ab54">More...</a><br/></td></tr>
<tr class="separator:ga2907287714877838fc7fac4b3663ab54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaefed27b79783086267da6fb38fffd4d2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaefed27b79783086267da6fb38fffd4d2">BCM2835_SPI0_CS_INTD</a>&#160;&#160;&#160;0x00000200</td></tr>
<tr class="memdesc:gaefed27b79783086267da6fb38fffd4d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">INTD Interrupt on Done.  <a href="#gaefed27b79783086267da6fb38fffd4d2">More...</a><br/></td></tr>
<tr class="separator:gaefed27b79783086267da6fb38fffd4d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad938aa1c2bdfd2f7e9aa7bc88a4292db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gad938aa1c2bdfd2f7e9aa7bc88a4292db">BCM2835_SPI0_CS_DMAEN</a>&#160;&#160;&#160;0x00000100</td></tr>
<tr class="memdesc:gad938aa1c2bdfd2f7e9aa7bc88a4292db"><td class="mdescLeft">&#160;</td><td class="mdescRight">DMAEN DMA Enable.  <a href="#gad938aa1c2bdfd2f7e9aa7bc88a4292db">More...</a><br/></td></tr>
<tr class="separator:gad938aa1c2bdfd2f7e9aa7bc88a4292db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5bd14ddfd24fef1ab1fba861d03a434f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga5bd14ddfd24fef1ab1fba861d03a434f">BCM2835_SPI0_CS_TA</a>&#160;&#160;&#160;0x00000080</td></tr>
<tr class="memdesc:ga5bd14ddfd24fef1ab1fba861d03a434f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfer Active.  <a href="#ga5bd14ddfd24fef1ab1fba861d03a434f">More...</a><br/></td></tr>
<tr class="separator:ga5bd14ddfd24fef1ab1fba861d03a434f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d6f47f39daa782c0c1274fc1ea9040b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga9d6f47f39daa782c0c1274fc1ea9040b">BCM2835_SPI0_CS_CSPOL</a>&#160;&#160;&#160;0x00000040</td></tr>
<tr class="memdesc:ga9d6f47f39daa782c0c1274fc1ea9040b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chip Select Polarity.  <a href="#ga9d6f47f39daa782c0c1274fc1ea9040b">More...</a><br/></td></tr>
<tr class="separator:ga9d6f47f39daa782c0c1274fc1ea9040b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3edadb07afa115bb65af855b3d24b041"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga3edadb07afa115bb65af855b3d24b041">BCM2835_SPI0_CS_CLEAR</a>&#160;&#160;&#160;0x00000030</td></tr>
<tr class="memdesc:ga3edadb07afa115bb65af855b3d24b041"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear FIFO Clear RX and TX.  <a href="#ga3edadb07afa115bb65af855b3d24b041">More...</a><br/></td></tr>
<tr class="separator:ga3edadb07afa115bb65af855b3d24b041"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7ac47fdf8233427762c07dd40a1e6b65"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga7ac47fdf8233427762c07dd40a1e6b65">BCM2835_SPI0_CS_CLEAR_RX</a>&#160;&#160;&#160;0x00000020</td></tr>
<tr class="memdesc:ga7ac47fdf8233427762c07dd40a1e6b65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear FIFO Clear RX.  <a href="#ga7ac47fdf8233427762c07dd40a1e6b65">More...</a><br/></td></tr>
<tr class="separator:ga7ac47fdf8233427762c07dd40a1e6b65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeecd23aff57b4d5b923634fb9595485c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaeecd23aff57b4d5b923634fb9595485c">BCM2835_SPI0_CS_CLEAR_TX</a>&#160;&#160;&#160;0x00000010</td></tr>
<tr class="memdesc:gaeecd23aff57b4d5b923634fb9595485c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear FIFO Clear TX.  <a href="#gaeecd23aff57b4d5b923634fb9595485c">More...</a><br/></td></tr>
<tr class="separator:gaeecd23aff57b4d5b923634fb9595485c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaceab67c6e391ac48efaa7ab699f44ad7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaceab67c6e391ac48efaa7ab699f44ad7">BCM2835_SPI0_CS_CPOL</a>&#160;&#160;&#160;0x00000008</td></tr>
<tr class="memdesc:gaceab67c6e391ac48efaa7ab699f44ad7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock Polarity.  <a href="#gaceab67c6e391ac48efaa7ab699f44ad7">More...</a><br/></td></tr>
<tr class="separator:gaceab67c6e391ac48efaa7ab699f44ad7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb5072e523048c4ddbb123777ef65900"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gacb5072e523048c4ddbb123777ef65900">BCM2835_SPI0_CS_CPHA</a>&#160;&#160;&#160;0x00000004</td></tr>
<tr class="memdesc:gacb5072e523048c4ddbb123777ef65900"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock Phase.  <a href="#gacb5072e523048c4ddbb123777ef65900">More...</a><br/></td></tr>
<tr class="separator:gacb5072e523048c4ddbb123777ef65900"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8fa69b1d8f57c1e8d98dfd0cca94cf53"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga8fa69b1d8f57c1e8d98dfd0cca94cf53">BCM2835_SPI0_CS_CS</a>&#160;&#160;&#160;0x00000003</td></tr>
<tr class="memdesc:ga8fa69b1d8f57c1e8d98dfd0cca94cf53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Chip Select.  <a href="#ga8fa69b1d8f57c1e8d98dfd0cca94cf53">More...</a><br/></td></tr>
<tr class="separator:ga8fa69b1d8f57c1e8d98dfd0cca94cf53"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga485a5a69e864565b0cd18b33ae1f59f2"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga485a5a69e864565b0cd18b33ae1f59f2">bcm2835FunctionSelect</a> { <br/>
&#160;&#160;<a class="el" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2ab14bfe5240f66659c5dabef39641e0cf">BCM2835_GPIO_FSEL_INPT</a> = 0b000, 
<a class="el" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a8107db411db5ac03cf3da12ad91956e4">BCM2835_GPIO_FSEL_OUTP</a> = 0b001, 
<a class="el" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2abc84f3ee611fbe48876358ed590987d6">BCM2835_GPIO_FSEL_ALT0</a> = 0b100, 
<a class="el" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a81058cc284cc50b64e662122fffacb55">BCM2835_GPIO_FSEL_ALT1</a> = 0b101, 
<br/>
&#160;&#160;<a class="el" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2aa549fbfb0f09bd07d16065924723951a">BCM2835_GPIO_FSEL_ALT2</a> = 0b110, 
<a class="el" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a51045fb18f8b8dca33c5693f8fe8fd1c">BCM2835_GPIO_FSEL_ALT3</a> = 0b111, 
<a class="el" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2ad19164ae828b01143b05ce504a76dcd3">BCM2835_GPIO_FSEL_ALT4</a> = 0b011, 
<a class="el" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a95960d8916729b49b174613b04b57416">BCM2835_GPIO_FSEL_ALT5</a> = 0b010, 
<br/>
&#160;&#160;<a class="el" href="group__constants.html#gga485a5a69e864565b0cd18b33ae1f59f2a7e1332f8ad6bb7ff98b621ba70a7edee">BCM2835_GPIO_FSEL_MASK</a> = 0b111
<br/>
 }</td></tr>
<tr class="memdesc:ga485a5a69e864565b0cd18b33ae1f59f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">bcm2835PortFunction Port function select modes for bcm2845_gpio_fsel()  <a href="group__constants.html#ga485a5a69e864565b0cd18b33ae1f59f2">More...</a><br/></td></tr>
<tr class="separator:ga485a5a69e864565b0cd18b33ae1f59f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga12cc68fcae50fba711398861e97175bf"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga12cc68fcae50fba711398861e97175bf">bcm2835PUDControl</a> { <a class="el" href="group__constants.html#gga12cc68fcae50fba711398861e97175bfaf0317ce1232d1a5c4b050e6574fa8e05">BCM2835_GPIO_PUD_OFF</a> = 0b00, 
<a class="el" href="group__constants.html#gga12cc68fcae50fba711398861e97175bfa9ead1946bbd26d4162ab566437415e88">BCM2835_GPIO_PUD_DOWN</a> = 0b01, 
<a class="el" href="group__constants.html#gga12cc68fcae50fba711398861e97175bfacb01d52867eff9173574109b7249e8b2">BCM2835_GPIO_PUD_UP</a> = 0b10
 }</td></tr>
<tr class="memdesc:ga12cc68fcae50fba711398861e97175bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">bcm2835PUDControl Pullup/Pulldown defines for bcm2845_gpio_pud()  <a href="group__constants.html#ga12cc68fcae50fba711398861e97175bf">More...</a><br/></td></tr>
<tr class="separator:ga12cc68fcae50fba711398861e97175bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaad545896af4bfd6aa8fe3c252cccb60f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaad545896af4bfd6aa8fe3c252cccb60f">bcm2835PadGroup</a> { <a class="el" href="group__constants.html#ggaad545896af4bfd6aa8fe3c252cccb60fab09304d698f6f2c24023cc9757d44980">BCM2835_PAD_GROUP_GPIO_0_27</a> = 0, 
<a class="el" href="group__constants.html#ggaad545896af4bfd6aa8fe3c252cccb60fa5ae4b9e4ac1542c87c505938c4bd4513">BCM2835_PAD_GROUP_GPIO_28_45</a> = 1, 
<a class="el" href="group__constants.html#ggaad545896af4bfd6aa8fe3c252cccb60fa8ff426a613becbf4c87cbbca8e5634f8">BCM2835_PAD_GROUP_GPIO_46_53</a> = 2
 }</td></tr>
<tr class="memdesc:gaad545896af4bfd6aa8fe3c252cccb60f"><td class="mdescLeft">&#160;</td><td class="mdescRight">bcm2835PadGroup Pad group specification for bcm2845_gpio_pad()  <a href="group__constants.html#gaad545896af4bfd6aa8fe3c252cccb60f">More...</a><br/></td></tr>
<tr class="separator:gaad545896af4bfd6aa8fe3c252cccb60f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63c029bd6500167152db4e57736d0939"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga63c029bd6500167152db4e57736d0939">RPiGPIOPin</a> { <br/>
&#160;&#160;<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a1517b7c4655c6717f16b83effd033a9e">RPI_GPIO_P1_03</a> = 0, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a8afeaa60595130f2b2a59428fac39bb9">RPI_GPIO_P1_05</a> = 1, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a41799c767a7a63811b6ef58b0f9da904">RPI_GPIO_P1_07</a> = 4, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a47a439611ae9cd893aac347d15bbf218">RPI_GPIO_P1_08</a> = 14, 
<br/>
&#160;&#160;<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939ac66b00ec0af3672ba730c934c9b0d8cd">RPI_GPIO_P1_10</a> = 15, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939add159b08381523060c2c747ea697389e">RPI_GPIO_P1_11</a> = 17, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a6e12829cb731101636dfa379e6c81a98">RPI_GPIO_P1_12</a> = 18, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939ae59a6a5c8aec8a2426fee3d4dbcdea9f">RPI_GPIO_P1_13</a> = 21, 
<br/>
&#160;&#160;<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939aa955f342de17923e50658dadaec4f094">RPI_GPIO_P1_15</a> = 22, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a4fcda42047fb1dd3b35f7fbec563c838">RPI_GPIO_P1_16</a> = 23, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a47d4996416a8fde17cef2c56eea31a58">RPI_GPIO_P1_18</a> = 24, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939aa55f690a41c9fe86afdffabcf2949e24">RPI_GPIO_P1_19</a> = 10, 
<br/>
&#160;&#160;<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939adf0419ccc92c6631ce8cdaeec622a98a">RPI_GPIO_P1_21</a> = 9, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a7a40d329190705fdbe6b7902ea54985c">RPI_GPIO_P1_22</a> = 25, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939aafe48c0c9b4b7a595c9e2d4f3ee08728">RPI_GPIO_P1_23</a> = 11, 
<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939ad98192fb89861a5cc541a151b1eeb793">RPI_GPIO_P1_24</a> = 8, 
<br/>
&#160;&#160;<a class="el" href="group__constants.html#gga63c029bd6500167152db4e57736d0939a0054a0a275142bbe81ceae66f4243faa">RPI_GPIO_P1_26</a> = 7
<br/>
 }</td></tr>
<tr class="memdesc:ga63c029bd6500167152db4e57736d0939"><td class="mdescLeft">&#160;</td><td class="mdescRight">RPiGPIOPin Here we define Raspberry Pin GPIO pins on P1 in terms of the underlying BCM GPIO pin numbers. These can be passed as a pin number to any function requiring a pin. Not all pins on the RPi 26 bin IDE plug are connected to GPIO pins and some can adopt an alternate function. At bootup, pins 8 and 10 are set to UART0_TXD, UART0_RXD (ie the alt0 function) respectively When SPI0 is in use (ie after <a class="el" href="group__spi.html#gac888dc9b78b695f6c13eeeaa813c0d82">bcm2835_spi_begin()</a>), pins 19, 21, 23, 24, 26 are dedicated to SPI and cant be controlled independently.  <a href="group__constants.html#ga63c029bd6500167152db4e57736d0939">More...</a><br/></td></tr>
<tr class="separator:ga63c029bd6500167152db4e57736d0939"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1dd00efbd834646f75240c39a41c9856"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga1dd00efbd834646f75240c39a41c9856">bcm2835SPIBitOrder</a> { <a class="el" href="group__constants.html#gga1dd00efbd834646f75240c39a41c9856a5c5e781f69afd9ed746eda7a91064a74">BCM2835_SPI_BIT_ORDER_LSBFIRST</a> = 0, 
<a class="el" href="group__constants.html#gga1dd00efbd834646f75240c39a41c9856a6db9e3863017d79cdb3eff34c14c700e">BCM2835_SPI_BIT_ORDER_MSBFIRST</a> = 1
 }</td></tr>
<tr class="memdesc:ga1dd00efbd834646f75240c39a41c9856"><td class="mdescLeft">&#160;</td><td class="mdescRight">bcm2835SPIBitOrder Specifies the SPI data bit ordering  <a href="group__constants.html#ga1dd00efbd834646f75240c39a41c9856">More...</a><br/></td></tr>
<tr class="separator:ga1dd00efbd834646f75240c39a41c9856"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8dd7bb496565324800130100e6bf6d86"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga8dd7bb496565324800130100e6bf6d86">bcm2835SPIMode</a> { <a class="el" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a217d44d5652b67ab179a20e93bbd2b87">BCM2835_SPI_MODE0</a> = 0, 
<a class="el" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a7a51dc3b999f3098d9298bead11a8960">BCM2835_SPI_MODE1</a> = 1, 
<a class="el" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a2250db4cc283f1b47aec450638a5e730">BCM2835_SPI_MODE2</a> = 2, 
<a class="el" href="group__constants.html#gga8dd7bb496565324800130100e6bf6d86a024fb7bd25395dec6b03fff0a7e80619">BCM2835_SPI_MODE3</a> = 3
 }</td></tr>
<tr class="memdesc:ga8dd7bb496565324800130100e6bf6d86"><td class="mdescLeft">&#160;</td><td class="mdescRight">bcm2835SPIMode Specify the SPI data mode  <a href="group__constants.html#ga8dd7bb496565324800130100e6bf6d86">More...</a><br/></td></tr>
<tr class="separator:ga8dd7bb496565324800130100e6bf6d86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga29bba154633d37d07fa130a86e4a1f2a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#ga29bba154633d37d07fa130a86e4a1f2a">bcm2835SPIChipSelect</a> { <a class="el" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aaeeb6a51216c5ac0c567827cbe6ed3cba">BCM2835_SPI_CS0</a> = 0, 
<a class="el" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aad959fea764ecd5f88758c254b21ad4b1">BCM2835_SPI_CS1</a> = 1, 
<a class="el" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aaadbb1953f89fd99126ab2862f56e0f60">BCM2835_SPI_CS2</a> = 2, 
<a class="el" href="group__constants.html#gga29bba154633d37d07fa130a86e4a1f2aa011213028810d80438c86259e6497486">BCM2835_SPI_CS_NONE</a> = 3
 }</td></tr>
<tr class="memdesc:ga29bba154633d37d07fa130a86e4a1f2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">bcm2835SPIChipSelect Specify the SPI chip select pin(s)  <a href="group__constants.html#ga29bba154633d37d07fa130a86e4a1f2a">More...</a><br/></td></tr>
<tr class="separator:ga29bba154633d37d07fa130a86e4a1f2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2e0ca069b8caef24602a02e8a00884e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__constants.html#gaf2e0ca069b8caef24602a02e8a00884e">bcm2835SPIClockDivider</a> { <br/>
&#160;&#160;<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaa381b689cf30ac842a243a23bdf3309c">BCM2835_SPI_CLOCK_DIVIDER_65536</a> = 0, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaee2d41b864505f54680bf9c39ff9effa">BCM2835_SPI_CLOCK_DIVIDER_32768</a> = 32768, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea6de39279629b70dd251224654fd0d740">BCM2835_SPI_CLOCK_DIVIDER_16384</a> = 16384, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea0a77ba2730542fe0ddc670d1c2e84369">BCM2835_SPI_CLOCK_DIVIDER_8192</a> = 8192, 
<br/>
&#160;&#160;<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ead6ddf8fe2bcde3cdd1ce70318baa95f1">BCM2835_SPI_CLOCK_DIVIDER_4096</a> = 4096, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaef8bf46632f27ceeb09cfdf1343f6372">BCM2835_SPI_CLOCK_DIVIDER_2048</a> = 2048, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea35ad8dd00de04e4937484d7bc88c39bf">BCM2835_SPI_CLOCK_DIVIDER_1024</a> = 1024, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaf16cc5e10c27b15905e2a0ad96e75474">BCM2835_SPI_CLOCK_DIVIDER_512</a> = 512, 
<br/>
&#160;&#160;<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea89e57ec01d99fd0dd0a76ae3f47360fd">BCM2835_SPI_CLOCK_DIVIDER_256</a> = 256, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea7794f568a5d4e7b47324581a54056e56">BCM2835_SPI_CLOCK_DIVIDER_128</a> = 128, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ead4df233d940ac171848f52cdbf674b96">BCM2835_SPI_CLOCK_DIVIDER_64</a> = 64, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eacd3770db41537912fe4df6a6f422c715">BCM2835_SPI_CLOCK_DIVIDER_32</a> = 32, 
<br/>
&#160;&#160;<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884eaffcc5bace28292640a1e2440a62add79">BCM2835_SPI_CLOCK_DIVIDER_16</a> = 16, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea165b0b0132f663ff147911de8a319bdb">BCM2835_SPI_CLOCK_DIVIDER_8</a> = 8, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea719364dedf064df7665b51ef8050b7bd">BCM2835_SPI_CLOCK_DIVIDER_4</a> = 4, 
<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea856f674b6f6ae675e8c8d55ad88790ee">BCM2835_SPI_CLOCK_DIVIDER_2</a> = 2, 
<br/>
&#160;&#160;<a class="el" href="group__constants.html#ggaf2e0ca069b8caef24602a02e8a00884ea609ee949d81b0a35951c83f14871207b">BCM2835_SPI_CLOCK_DIVIDER_1</a> = 1
<br/>
 }</td></tr>
<tr class="memdesc:gaf2e0ca069b8caef24602a02e8a00884e"><td class="mdescLeft">&#160;</td><td class="mdescRight">bcm2835SPIClockDivider Specifies the divider used to generate the SPI clock from the system clock. Figures below give the divider, clock period and clock frequency.  <a href="group__constants.html#gaf2e0ca069b8caef24602a02e8a00884e">More...</a><br/></td></tr>
<tr class="separator:gaf2e0ca069b8caef24602a02e8a00884e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>The values here are designed to be passed to various functions in the bcm2835 library. </p>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga78709ba3128e986d3185c272d6cc29d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_BLOCK_SIZE&#160;&#160;&#160;(4*1024)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Size of memory block on RPi. </p>

</div>
</div>
<a class="anchor" id="ga23c5c42494588d137ce4e2c5fa1ef503"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_CLOCK_BASE&#160;&#160;&#160;(<a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a> + 0x101000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Base Physical Address of the Clock/timer registers. </p>

</div>
</div>
<a class="anchor" id="gaf7fb83f519c19337f5ef44f6eb11609f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPAFEN0&#160;&#160;&#160;0x0088</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Async. Falling Edge Detect 0. </p>

</div>
</div>
<a class="anchor" id="gacf9264f231d53db4567e9c582e8f4491"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPAFEN1&#160;&#160;&#160;0x008c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Async. Falling Edge Detect 1. </p>

</div>
</div>
<a class="anchor" id="ga761328af6fed56935e474a4d5f773156"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPAREN0&#160;&#160;&#160;0x007c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Async. Rising Edge Detect 0. </p>

</div>
</div>
<a class="anchor" id="gabb0649bc082de78b977f43876363963f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPAREN1&#160;&#160;&#160;0x0080</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Async. Rising Edge Detect 1. </p>

</div>
</div>
<a class="anchor" id="gafb1747241f4bb7ff862e8a018df95347"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPCLR0&#160;&#160;&#160;0x0028</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Output Clear 0. </p>

</div>
</div>
<a class="anchor" id="ga909c5e086a927f35b0d8effd0080b666"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPCLR1&#160;&#160;&#160;0x002c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Output Clear 1. </p>

</div>
</div>
<a class="anchor" id="ga465a3654de5aed71841769dd28e6d8d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPEDS0&#160;&#160;&#160;0x0040</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Event Detect Status 0. </p>

</div>
</div>
<a class="anchor" id="gad12207f38948faa0009e45a5d7979991"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPEDS1&#160;&#160;&#160;0x0044</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Event Detect Status 1. </p>

</div>
</div>
<a class="anchor" id="ga1700c03b5c1cccaa1f2d1af5ceb8a07e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPFEN0&#160;&#160;&#160;0x0048</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Falling Edge Detect Enable 0. </p>

</div>
</div>
<a class="anchor" id="ga417b97cba380741da717b9aef7382eda"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPFEN1&#160;&#160;&#160;0x005c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Falling Edge Detect Enable 1. </p>

</div>
</div>
<a class="anchor" id="ga00917d110abbdec714c4005a59848902"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPFSEL0&#160;&#160;&#160;0x0000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO register offsets from BCM2835_GPIO_BASE. Offsets into the GPIO Peripheral block in bytes per 6.1 Register View. </p>
<p>GPIO Function Select 0 </p>

</div>
</div>
<a class="anchor" id="ga76fb9088a948cfff2fce816a03d610ca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPFSEL1&#160;&#160;&#160;0x0004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Function Select 1. </p>

</div>
</div>
<a class="anchor" id="ga7b6504e9e73af599860a175f77752074"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPFSEL2&#160;&#160;&#160;0x0008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Function Select 2. </p>

</div>
</div>
<a class="anchor" id="gaa1dc7331a5c2b343b89fc43e1a2632ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPFSEL3&#160;&#160;&#160;0x000c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Function Select 3. </p>

</div>
</div>
<a class="anchor" id="ga01c8888e41dd1a89d98cc053567d1f58"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPFSEL4&#160;&#160;&#160;0x0010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Function Select 4. </p>

</div>
</div>
<a class="anchor" id="ga74095771a9c64d18383c83d852423a52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPFSEL5&#160;&#160;&#160;0x0014</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Function Select 5. </p>

</div>
</div>
<a class="anchor" id="gad4fa850fe62fcc04aa4f27c8aea86b12"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPHEN0&#160;&#160;&#160;0x0064</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin High Detect Enable 0. </p>

</div>
</div>
<a class="anchor" id="gae3fdab5dd28d9c6309373d6819c221f1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPHEN1&#160;&#160;&#160;0x0068</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin High Detect Enable 1. </p>

</div>
</div>
<a class="anchor" id="ga18644b2c5bcf4463e340087ffbaf38e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPIO_BASE&#160;&#160;&#160;(<a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a> + 0x200000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Base Physical Address of the GPIO registers. </p>

</div>
</div>
<a class="anchor" id="gad67de3f137d951059c332980db171ffb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPIO_PADS&#160;&#160;&#160;(<a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a> + 0x100000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Base Physical Address of the Pads registers. </p>

</div>
</div>
<a class="anchor" id="gac7dd12cef0d936f0787273810a525aa1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPIO_PWM&#160;&#160;&#160;(<a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a> + 0x20C000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Base Physical Address of the PWM registers. </p>

</div>
</div>
<a class="anchor" id="ga596691fdae72cd50839e6faaa166ddfa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPLEN0&#160;&#160;&#160;0x0070</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Low Detect Enable 0. </p>

</div>
</div>
<a class="anchor" id="gaa8c7dec188f62ed2fd24849f35c8edcf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPLEN1&#160;&#160;&#160;0x0074</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Low Detect Enable 1. </p>

</div>
</div>
<a class="anchor" id="ga041b207af12c06812ae61d7843f29722"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPLEV0&#160;&#160;&#160;0x0034</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Level 0. </p>

</div>
</div>
<a class="anchor" id="gab9119967adce528ba0be92c18c74f620"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPLEV1&#160;&#160;&#160;0x0038</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Level 1. </p>

</div>
</div>
<a class="anchor" id="gaf8b78001cdb3bea2d9e907c07693671b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPPUD&#160;&#160;&#160;0x0094</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Pull-up/down Enable. </p>

</div>
</div>
<a class="anchor" id="gad6e8fe11f1afdef6245045ec27059732"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPPUDCLK0&#160;&#160;&#160;0x0098</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Pull-up/down Enable Clock 0. </p>

</div>
</div>
<a class="anchor" id="ga6db680bbda10290da4a9637d21719811"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPPUDCLK1&#160;&#160;&#160;0x009c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Pull-up/down Enable Clock 1. </p>

</div>
</div>
<a class="anchor" id="ga4d9faef4b2dc479356d1a6cf4d9a97de"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPREN0&#160;&#160;&#160;0x004c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Rising Edge Detect Enable 0. </p>

</div>
</div>
<a class="anchor" id="ga4059231531964a7c19e04c32b1b3dc84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPREN1&#160;&#160;&#160;0x0050</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Rising Edge Detect Enable 1. </p>

</div>
</div>
<a class="anchor" id="gab932050ff4d1cca2c88e7b0938b207ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPSET0&#160;&#160;&#160;0x001c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Output Set 0. </p>

</div>
</div>
<a class="anchor" id="gaea654f86dc2dcad6fb98234621565ea9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_GPSET1&#160;&#160;&#160;0x0020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>GPIO Pin Output Set 1. </p>

</div>
</div>
<a class="anchor" id="gad7486566fbf3639e40271c2891f228f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_DRIVE_10mA&#160;&#160;&#160;0x04</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>10mA drive current </p>

</div>
</div>
<a class="anchor" id="gad5317cf984e9ea1ff0f634594f444241"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_DRIVE_12mA&#160;&#160;&#160;0x05</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>12mA drive current </p>

</div>
</div>
<a class="anchor" id="gab81348e1c486d1f8ea26db36484f8652"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_DRIVE_14mA&#160;&#160;&#160;0x06</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>14mA drive current </p>

</div>
</div>
<a class="anchor" id="ga219597896782a72ba61155b93c2256d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_DRIVE_16mA&#160;&#160;&#160;0x07</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>16mA drive current </p>

</div>
</div>
<a class="anchor" id="ga3fee5477b0fe9c881acc4cfee36d0e91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_DRIVE_2mA&#160;&#160;&#160;0x00</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>2mA drive current </p>

</div>
</div>
<a class="anchor" id="gabcff85928631a5e02819a7ab9c5de446"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_DRIVE_4mA&#160;&#160;&#160;0x01</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>4mA drive current </p>

</div>
</div>
<a class="anchor" id="ga4031739ca3a20be73fcc7851ad72f799"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_DRIVE_6mA&#160;&#160;&#160;0x02</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>6mA drive current </p>

</div>
</div>
<a class="anchor" id="gacc25f3916cea3f06a98dd86d7ed6f90a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_DRIVE_8mA&#160;&#160;&#160;0x03</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>8mA drive current </p>

</div>
</div>
<a class="anchor" id="ga9f9b865c716f45aabd0b5dc0385c8fe9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_HYSTERESIS_ENABLED&#160;&#160;&#160;0x08</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Hysteresis enabled. </p>

</div>
</div>
<a class="anchor" id="ga2ce4541798c37b8d253df1c9ff090606"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_PASSWRD&#160;&#160;&#160;(0x5A &lt;&lt; 24)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pad Control masks. </p>
<p>Password to enable setting pad mask </p>

</div>
</div>
<a class="anchor" id="gaef28743dd2384a4230e430a4617876bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAD_SLEW_RATE_UNLIMITED&#160;&#160;&#160;0x10</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Slew rate unlimited. </p>

</div>
</div>
<a class="anchor" id="ga4d20d8211cc82313ea5ded2502928828"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PADS_GPIO_0_27&#160;&#160;&#160;0x002c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pad control register offsets from BCM2835_GPIO_PADS. </p>
<p>Pad control register for pads 0 to 27 </p>

</div>
</div>
<a class="anchor" id="ga1cbce6b8e2a5c1ff8cb98bf619c48566"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PADS_GPIO_28_45&#160;&#160;&#160;0x0030</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pad control register for pads 28 to 45. </p>

</div>
</div>
<a class="anchor" id="ga812e6ccc1cebd0a44bd3d355902566a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PADS_GPIO_46_53&#160;&#160;&#160;0x0034</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pad control register for pads 46 to 53. </p>

</div>
</div>
<a class="anchor" id="ga7283abea0c7bd58a9faa12b51875c5f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PAGE_SIZE&#160;&#160;&#160;(4*1024)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Size of memory page on RPi. </p>

</div>
</div>
<a class="anchor" id="gab5bb26b947f1c7bde2228eab5fef2c8b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_PERI_BASE&#160;&#160;&#160;0x20000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Base Physical Address of the BCM 2835 peripheral registers. </p>

</div>
</div>
<a class="anchor" id="ga6a6ad3a241527d11409cfd0228f6af0f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_BASE&#160;&#160;&#160;(<a class="el" href="group__constants.html#gab5bb26b947f1c7bde2228eab5fef2c8b">BCM2835_PERI_BASE</a> + 0x204000)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Base Physical Address of the SPI0 registers. </p>

</div>
</div>
<a class="anchor" id="gaffd3d1ae9288feffa1a3201ee20410b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CLK&#160;&#160;&#160;0x0008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SPI Master Clock Divider. </p>

</div>
</div>
<a class="anchor" id="ga49919ca09a6264b1ff512497f96a7c0d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS&#160;&#160;&#160;0x0000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SPI Master Control and Status. </p>
<p>Defines for SPI GPIO register offsets from BCM2835_SPI0_BASE. Offsets into the SPI Peripheral block in bytes per 10.5 SPI Register Map </p>

</div>
</div>
<a class="anchor" id="gaf473964864614ea2dfe237f5ae96f0ca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_ADCS&#160;&#160;&#160;0x00000800</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ADCS Automatically Deassert Chip Select. </p>

</div>
</div>
<a class="anchor" id="ga3edadb07afa115bb65af855b3d24b041"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_CLEAR&#160;&#160;&#160;0x00000030</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear FIFO Clear RX and TX. </p>

</div>
</div>
<a class="anchor" id="ga7ac47fdf8233427762c07dd40a1e6b65"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_CLEAR_RX&#160;&#160;&#160;0x00000020</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear FIFO Clear RX. </p>

</div>
</div>
<a class="anchor" id="gaeecd23aff57b4d5b923634fb9595485c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_CLEAR_TX&#160;&#160;&#160;0x00000010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear FIFO Clear TX. </p>

</div>
</div>
<a class="anchor" id="gacb5072e523048c4ddbb123777ef65900"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_CPHA&#160;&#160;&#160;0x00000004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock Phase. </p>

</div>
</div>
<a class="anchor" id="gaceab67c6e391ac48efaa7ab699f44ad7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_CPOL&#160;&#160;&#160;0x00000008</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock Polarity. </p>

</div>
</div>
<a class="anchor" id="ga8fa69b1d8f57c1e8d98dfd0cca94cf53"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_CS&#160;&#160;&#160;0x00000003</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Chip Select. </p>

</div>
</div>
<a class="anchor" id="ga9d6f47f39daa782c0c1274fc1ea9040b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_CSPOL&#160;&#160;&#160;0x00000040</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Chip Select Polarity. </p>

</div>
</div>
<a class="anchor" id="ga4ec3c1bde85de8380d5810bcd385a5bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_CSPOL0&#160;&#160;&#160;0x00200000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Chip Select 0 Polarity. </p>

</div>
</div>
<a class="anchor" id="gae7af165fc13312fe1465af31d6d80f10"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_CSPOL1&#160;&#160;&#160;0x00400000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Chip Select 1 Polarity. </p>

</div>
</div>
<a class="anchor" id="gabe3809daaf4420d004bd39f2ecf3e93a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_CSPOL2&#160;&#160;&#160;0x00800000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Chip Select 2 Polarity. </p>

</div>
</div>
<a class="anchor" id="gaedcfe6aa2213d0be2d43952faaedc296"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_DMA_LEN&#160;&#160;&#160;0x01000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable DMA mode in Lossi mode. </p>

</div>
</div>
<a class="anchor" id="gad938aa1c2bdfd2f7e9aa7bc88a4292db"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_DMAEN&#160;&#160;&#160;0x00000100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DMAEN DMA Enable. </p>

</div>
</div>
<a class="anchor" id="gaf08ece95c7f4b756e9b7ad04ca28bf1f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_DONE&#160;&#160;&#160;0x00010000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Done transfer Done. </p>

</div>
</div>
<a class="anchor" id="gaefed27b79783086267da6fb38fffd4d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_INTD&#160;&#160;&#160;0x00000200</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>INTD Interrupt on Done. </p>

</div>
</div>
<a class="anchor" id="ga2907287714877838fc7fac4b3663ab54"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_INTR&#160;&#160;&#160;0x00000400</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>INTR Interrupt on RXR. </p>

</div>
</div>
<a class="anchor" id="ga7affadae5d0fe819bc45b61ae3493010"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_LEN&#160;&#160;&#160;0x00002000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>LEN LoSSI enable. </p>

</div>
</div>
<a class="anchor" id="gae1289c80786e4824dd690ae1f44cfd8b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_LEN_LONG&#160;&#160;&#160;0x02000000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enable Long data word in Lossi mode if DMA_LEN is set. </p>

</div>
</div>
<a class="anchor" id="ga14e979e9c1cb273dc82681d38dc3b66d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_LMONO&#160;&#160;&#160;0x00004000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unused. </p>

</div>
</div>
<a class="anchor" id="gaadcb38922b024a8ad642e32caeeac5aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_REN&#160;&#160;&#160;0x00001000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>REN Read Enable. </p>

</div>
</div>
<a class="anchor" id="ga62071206e365c0709810f9ba99bfbf0a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_RXD&#160;&#160;&#160;0x00020000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>RXD RX FIFO contains Data. </p>

</div>
</div>
<a class="anchor" id="gabc15a6b0f38c304d756699c8b0c4b94d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_RXF&#160;&#160;&#160;0x00100000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>RXF - RX FIFO Full. </p>

</div>
</div>
<a class="anchor" id="gac4a5bcc3bb89c287f0f7cdbc6498251d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_RXR&#160;&#160;&#160;0x00080000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>RXR RX FIFO needs Reading ( full) </p>

</div>
</div>
<a class="anchor" id="ga5bd14ddfd24fef1ab1fba861d03a434f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_TA&#160;&#160;&#160;0x00000080</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transfer Active. </p>

</div>
</div>
<a class="anchor" id="gac0780b01fb7fc1e0ee2859c253c6e195"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_TE_EN&#160;&#160;&#160;0x00008000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unused. </p>

</div>
</div>
<a class="anchor" id="ga510230183c6e2b2214e7ec6f14b018a1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_CS_TXD&#160;&#160;&#160;0x00040000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>TXD TX FIFO can accept Data. </p>

</div>
</div>
<a class="anchor" id="gadcbc54e7334424b155ee4fd2c62eaf7d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_DC&#160;&#160;&#160;0x0014</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SPI DMA DREQ Controls. </p>

</div>
</div>
<a class="anchor" id="ga04ec3ff32c1ba0779168296cb4b16ac9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_DLEN&#160;&#160;&#160;0x000c</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SPI Master Data Length. </p>

</div>
</div>
<a class="anchor" id="gabaa8c00767e856c38e3519eb9b5b73e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_FIFO&#160;&#160;&#160;0x0004</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SPI Master TX and RX FIFOs. </p>

</div>
</div>
<a class="anchor" id="ga7e9ede79144d2e190270f8fbe1e1fbe6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define BCM2835_SPI0_LTOH&#160;&#160;&#160;0x0010</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>SPI LOSSI mode TOH. </p>

</div>
</div>
<a class="anchor" id="ga5bb885982ff66a2e0a0a45a8ee9c35e2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HIGH&#160;&#160;&#160;0x1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This means pin HIGH, true, 3.3volts on a pin. </p>

</div>
</div>
<a class="anchor" id="gab811d8c6ff3a505312d3276590444289"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LOW&#160;&#160;&#160;0x0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This means pin LOW, false, 0volts on a pin. </p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ga485a5a69e864565b0cd18b33ae1f59f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__constants.html#ga485a5a69e864565b0cd18b33ae1f59f2">bcm2835FunctionSelect</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>bcm2835PortFunction Port function select modes for bcm2845_gpio_fsel() </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga485a5a69e864565b0cd18b33ae1f59f2ab14bfe5240f66659c5dabef39641e0cf"></a>BCM2835_GPIO_FSEL_INPT</em>&nbsp;</td><td class="fielddoc">
<p>Input. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga485a5a69e864565b0cd18b33ae1f59f2a8107db411db5ac03cf3da12ad91956e4"></a>BCM2835_GPIO_FSEL_OUTP</em>&nbsp;</td><td class="fielddoc">
<p>Output. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga485a5a69e864565b0cd18b33ae1f59f2abc84f3ee611fbe48876358ed590987d6"></a>BCM2835_GPIO_FSEL_ALT0</em>&nbsp;</td><td class="fielddoc">
<p>Alternate function 0. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga485a5a69e864565b0cd18b33ae1f59f2a81058cc284cc50b64e662122fffacb55"></a>BCM2835_GPIO_FSEL_ALT1</em>&nbsp;</td><td class="fielddoc">
<p>Alternate function 1. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga485a5a69e864565b0cd18b33ae1f59f2aa549fbfb0f09bd07d16065924723951a"></a>BCM2835_GPIO_FSEL_ALT2</em>&nbsp;</td><td class="fielddoc">
<p>Alternate function 2. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga485a5a69e864565b0cd18b33ae1f59f2a51045fb18f8b8dca33c5693f8fe8fd1c"></a>BCM2835_GPIO_FSEL_ALT3</em>&nbsp;</td><td class="fielddoc">
<p>Alternate function 3. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga485a5a69e864565b0cd18b33ae1f59f2ad19164ae828b01143b05ce504a76dcd3"></a>BCM2835_GPIO_FSEL_ALT4</em>&nbsp;</td><td class="fielddoc">
<p>Alternate function 4. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga485a5a69e864565b0cd18b33ae1f59f2a95960d8916729b49b174613b04b57416"></a>BCM2835_GPIO_FSEL_ALT5</em>&nbsp;</td><td class="fielddoc">
<p>Alternate function 5. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga485a5a69e864565b0cd18b33ae1f59f2a7e1332f8ad6bb7ff98b621ba70a7edee"></a>BCM2835_GPIO_FSEL_MASK</em>&nbsp;</td><td class="fielddoc">
<p>Function select bits mask. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="gaad545896af4bfd6aa8fe3c252cccb60f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__constants.html#gaad545896af4bfd6aa8fe3c252cccb60f">bcm2835PadGroup</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>bcm2835PadGroup Pad group specification for bcm2845_gpio_pad() </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ggaad545896af4bfd6aa8fe3c252cccb60fab09304d698f6f2c24023cc9757d44980"></a>BCM2835_PAD_GROUP_GPIO_0_27</em>&nbsp;</td><td class="fielddoc">
<p>Pad group for GPIO pads 0 to 27. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaad545896af4bfd6aa8fe3c252cccb60fa5ae4b9e4ac1542c87c505938c4bd4513"></a>BCM2835_PAD_GROUP_GPIO_28_45</em>&nbsp;</td><td class="fielddoc">
<p>Pad group for GPIO pads 28 to 45. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaad545896af4bfd6aa8fe3c252cccb60fa8ff426a613becbf4c87cbbca8e5634f8"></a>BCM2835_PAD_GROUP_GPIO_46_53</em>&nbsp;</td><td class="fielddoc">
<p>Pad group for GPIO pads 46 to 53. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga12cc68fcae50fba711398861e97175bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__constants.html#ga12cc68fcae50fba711398861e97175bf">bcm2835PUDControl</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>bcm2835PUDControl Pullup/Pulldown defines for bcm2845_gpio_pud() </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga12cc68fcae50fba711398861e97175bfaf0317ce1232d1a5c4b050e6574fa8e05"></a>BCM2835_GPIO_PUD_OFF</em>&nbsp;</td><td class="fielddoc">
<p>Off ? disable pull-up/down. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga12cc68fcae50fba711398861e97175bfa9ead1946bbd26d4162ab566437415e88"></a>BCM2835_GPIO_PUD_DOWN</em>&nbsp;</td><td class="fielddoc">
<p>Enable Pull Down control. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga12cc68fcae50fba711398861e97175bfacb01d52867eff9173574109b7249e8b2"></a>BCM2835_GPIO_PUD_UP</em>&nbsp;</td><td class="fielddoc">
<p>Enable Pull Up control. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga1dd00efbd834646f75240c39a41c9856"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__constants.html#ga1dd00efbd834646f75240c39a41c9856">bcm2835SPIBitOrder</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>bcm2835SPIBitOrder Specifies the SPI data bit ordering </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga1dd00efbd834646f75240c39a41c9856a5c5e781f69afd9ed746eda7a91064a74"></a>BCM2835_SPI_BIT_ORDER_LSBFIRST</em>&nbsp;</td><td class="fielddoc">
<p>LSB First. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga1dd00efbd834646f75240c39a41c9856a6db9e3863017d79cdb3eff34c14c700e"></a>BCM2835_SPI_BIT_ORDER_MSBFIRST</em>&nbsp;</td><td class="fielddoc">
<p>MSB First. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga29bba154633d37d07fa130a86e4a1f2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__constants.html#ga29bba154633d37d07fa130a86e4a1f2a">bcm2835SPIChipSelect</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>bcm2835SPIChipSelect Specify the SPI chip select pin(s) </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga29bba154633d37d07fa130a86e4a1f2aaeeb6a51216c5ac0c567827cbe6ed3cba"></a>BCM2835_SPI_CS0</em>&nbsp;</td><td class="fielddoc">
<p>Chip Select 0. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga29bba154633d37d07fa130a86e4a1f2aad959fea764ecd5f88758c254b21ad4b1"></a>BCM2835_SPI_CS1</em>&nbsp;</td><td class="fielddoc">
<p>Chip Select 1. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga29bba154633d37d07fa130a86e4a1f2aaadbb1953f89fd99126ab2862f56e0f60"></a>BCM2835_SPI_CS2</em>&nbsp;</td><td class="fielddoc">
<p>Chip Select 2 (ie pins CS1 and CS2 are asserted) </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga29bba154633d37d07fa130a86e4a1f2aa011213028810d80438c86259e6497486"></a>BCM2835_SPI_CS_NONE</em>&nbsp;</td><td class="fielddoc">
<p>No CS, control it yourself. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="gaf2e0ca069b8caef24602a02e8a00884e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__constants.html#gaf2e0ca069b8caef24602a02e8a00884e">bcm2835SPIClockDivider</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>bcm2835SPIClockDivider Specifies the divider used to generate the SPI clock from the system clock. Figures below give the divider, clock period and clock frequency. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884eaa381b689cf30ac842a243a23bdf3309c"></a>BCM2835_SPI_CLOCK_DIVIDER_65536</em>&nbsp;</td><td class="fielddoc">
<p>65536 = 256us = 4kHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884eaee2d41b864505f54680bf9c39ff9effa"></a>BCM2835_SPI_CLOCK_DIVIDER_32768</em>&nbsp;</td><td class="fielddoc">
<p>32768 = 126us = 8kHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ea6de39279629b70dd251224654fd0d740"></a>BCM2835_SPI_CLOCK_DIVIDER_16384</em>&nbsp;</td><td class="fielddoc">
<p>16384 = 64us = 15.625kHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ea0a77ba2730542fe0ddc670d1c2e84369"></a>BCM2835_SPI_CLOCK_DIVIDER_8192</em>&nbsp;</td><td class="fielddoc">
<p>8192 = 32us = 31.25kHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ead6ddf8fe2bcde3cdd1ce70318baa95f1"></a>BCM2835_SPI_CLOCK_DIVIDER_4096</em>&nbsp;</td><td class="fielddoc">
<p>4096 = 16us = 62.5kHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884eaef8bf46632f27ceeb09cfdf1343f6372"></a>BCM2835_SPI_CLOCK_DIVIDER_2048</em>&nbsp;</td><td class="fielddoc">
<p>2048 = 8us = 125kHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ea35ad8dd00de04e4937484d7bc88c39bf"></a>BCM2835_SPI_CLOCK_DIVIDER_1024</em>&nbsp;</td><td class="fielddoc">
<p>1024 = 4us = 250kHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884eaf16cc5e10c27b15905e2a0ad96e75474"></a>BCM2835_SPI_CLOCK_DIVIDER_512</em>&nbsp;</td><td class="fielddoc">
<p>512 = 2us = 500kHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ea89e57ec01d99fd0dd0a76ae3f47360fd"></a>BCM2835_SPI_CLOCK_DIVIDER_256</em>&nbsp;</td><td class="fielddoc">
<p>256 = 1us = 1MHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ea7794f568a5d4e7b47324581a54056e56"></a>BCM2835_SPI_CLOCK_DIVIDER_128</em>&nbsp;</td><td class="fielddoc">
<p>128 = 500ns = = 2MHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ead4df233d940ac171848f52cdbf674b96"></a>BCM2835_SPI_CLOCK_DIVIDER_64</em>&nbsp;</td><td class="fielddoc">
<p>64 = 250ns = 4MHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884eacd3770db41537912fe4df6a6f422c715"></a>BCM2835_SPI_CLOCK_DIVIDER_32</em>&nbsp;</td><td class="fielddoc">
<p>32 = 125ns = 8MHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884eaffcc5bace28292640a1e2440a62add79"></a>BCM2835_SPI_CLOCK_DIVIDER_16</em>&nbsp;</td><td class="fielddoc">
<p>16 = 50ns = 20MHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ea165b0b0132f663ff147911de8a319bdb"></a>BCM2835_SPI_CLOCK_DIVIDER_8</em>&nbsp;</td><td class="fielddoc">
<p>8 = 25ns = 40MHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ea719364dedf064df7665b51ef8050b7bd"></a>BCM2835_SPI_CLOCK_DIVIDER_4</em>&nbsp;</td><td class="fielddoc">
<p>4 = 12.5ns 80MHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ea856f674b6f6ae675e8c8d55ad88790ee"></a>BCM2835_SPI_CLOCK_DIVIDER_2</em>&nbsp;</td><td class="fielddoc">
<p>2 = 6.25ns = 160MHz </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ggaf2e0ca069b8caef24602a02e8a00884ea609ee949d81b0a35951c83f14871207b"></a>BCM2835_SPI_CLOCK_DIVIDER_1</em>&nbsp;</td><td class="fielddoc">
<p>0 = 256us = 4kHz </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga8dd7bb496565324800130100e6bf6d86"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__constants.html#ga8dd7bb496565324800130100e6bf6d86">bcm2835SPIMode</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>bcm2835SPIMode Specify the SPI data mode </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga8dd7bb496565324800130100e6bf6d86a217d44d5652b67ab179a20e93bbd2b87"></a>BCM2835_SPI_MODE0</em>&nbsp;</td><td class="fielddoc">
<p>CPOL = 0, CPHA = 0. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga8dd7bb496565324800130100e6bf6d86a7a51dc3b999f3098d9298bead11a8960"></a>BCM2835_SPI_MODE1</em>&nbsp;</td><td class="fielddoc">
<p>CPOL = 0, CPHA = 1. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga8dd7bb496565324800130100e6bf6d86a2250db4cc283f1b47aec450638a5e730"></a>BCM2835_SPI_MODE2</em>&nbsp;</td><td class="fielddoc">
<p>CPOL = 1, CPHA = 0. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga8dd7bb496565324800130100e6bf6d86a024fb7bd25395dec6b03fff0a7e80619"></a>BCM2835_SPI_MODE3</em>&nbsp;</td><td class="fielddoc">
<p>CPOL = 1, CPHA = 1. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="ga63c029bd6500167152db4e57736d0939"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__constants.html#ga63c029bd6500167152db4e57736d0939">RPiGPIOPin</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>RPiGPIOPin Here we define Raspberry Pin GPIO pins on P1 in terms of the underlying BCM GPIO pin numbers. These can be passed as a pin number to any function requiring a pin. Not all pins on the RPi 26 bin IDE plug are connected to GPIO pins and some can adopt an alternate function. At bootup, pins 8 and 10 are set to UART0_TXD, UART0_RXD (ie the alt0 function) respectively When SPI0 is in use (ie after <a class="el" href="group__spi.html#gac888dc9b78b695f6c13eeeaa813c0d82">bcm2835_spi_begin()</a>), pins 19, 21, 23, 24, 26 are dedicated to SPI and cant be controlled independently. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939a1517b7c4655c6717f16b83effd033a9e"></a>RPI_GPIO_P1_03</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-03. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939a8afeaa60595130f2b2a59428fac39bb9"></a>RPI_GPIO_P1_05</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-05. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939a41799c767a7a63811b6ef58b0f9da904"></a>RPI_GPIO_P1_07</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-07. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939a47a439611ae9cd893aac347d15bbf218"></a>RPI_GPIO_P1_08</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-08, defaults to alt function 0 UART0_TXD. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939ac66b00ec0af3672ba730c934c9b0d8cd"></a>RPI_GPIO_P1_10</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-10, defaults to alt function 0 UART0_RXD. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939add159b08381523060c2c747ea697389e"></a>RPI_GPIO_P1_11</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-11. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939a6e12829cb731101636dfa379e6c81a98"></a>RPI_GPIO_P1_12</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-12. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939ae59a6a5c8aec8a2426fee3d4dbcdea9f"></a>RPI_GPIO_P1_13</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-13. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939aa955f342de17923e50658dadaec4f094"></a>RPI_GPIO_P1_15</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-15. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939a4fcda42047fb1dd3b35f7fbec563c838"></a>RPI_GPIO_P1_16</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-16. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939a47d4996416a8fde17cef2c56eea31a58"></a>RPI_GPIO_P1_18</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-18. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939aa55f690a41c9fe86afdffabcf2949e24"></a>RPI_GPIO_P1_19</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-19, MOSI when SPI0 in use. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939adf0419ccc92c6631ce8cdaeec622a98a"></a>RPI_GPIO_P1_21</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-21, MISO when SPI0 in use. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939a7a40d329190705fdbe6b7902ea54985c"></a>RPI_GPIO_P1_22</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-22. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939aafe48c0c9b4b7a595c9e2d4f3ee08728"></a>RPI_GPIO_P1_23</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-23, CLK when SPI0 in use. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939ad98192fb89861a5cc541a151b1eeb793"></a>RPI_GPIO_P1_24</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-24, CE0 when SPI0 in use. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="gga63c029bd6500167152db4e57736d0939a0054a0a275142bbe81ceae66f4243faa"></a>RPI_GPIO_P1_26</em>&nbsp;</td><td class="fielddoc">
<p>Pin P1-26, CE1 when SPI0 in use. </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 16 2013 16:20:03 for RaspBerryPi power control by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
